package Service;

import domain.systemMsg;

import java.util.List;

public interface systemMsgService {
    public List<systemMsg> findNewMsgByUsername(String username);

    public List<systemMsg> findHistoryMsgByUsername(String username);

    public void addMsg(systemMsg msg);

    public systemMsg findMsgByid(int id);

    public void changeMsgIsread(String flag,int id);
}
